﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IQKS.AWP.BusinessAccessLayer;
using IQKS.AWP.BusinessObject;
using System.IO;
using System.Configuration;
public partial class Admin_CandidateRegistrationThanks : System.Web.UI.Page
{
    #region events
    
    protected void Page_Load(object sender, EventArgs e)
    {
        
        if (!IsPostBack)
        {
            CandidateDetailsBAL objCDBal = new CandidateDetailsBAL();

            DataSet objDs = new DataSet();

            objDs =  objCDBal.GetUserDetailByEmailID(Convert.ToString(Session["EmailID"]));
            if ( objDs.Tables.Count > 0)
            {
                    if(objDs.Tables[0].Rows.Count > 0)
                    {
                         tdEmailID.InnerHtml = "<h4>Registered Email ID: " + Convert.ToString(Session["EmailID"]) + "</h4><br />";
                          tdRegistration.InnerHtml =   "<h4>Registration Number : "+  Convert.ToString(objDs.Tables[0].Rows[0]["RegistrationNo"]) +"</h4><br />";
                    }
            }

            Session.RemoveAll();
        }



        
    }

    #endregion


    protected void btgGoLogin_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/Common/LoginAlready.aspx");
    }
}